From 0d95705bd52b32695e6e04240f273d1eb62264e6 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 27 Feb 2013 13:46:49 -0600 Subject: [PATCH] GtkTreeView: Add some CSS for the 'dnd' style class so drawing the drag-dest-row works The default CSS didn't have anything for GtkTreeView's 'dnd' style class. So, the call to gtk_render_frame() to draw the highlight frame for the drag-dest-row was getting a border-width of 0, and nothing was drawn as a result. Now we just copy the default from Adwaita, but make the border-radius 0, to make it square like the rest of the Raleigh theme... --- gtk/gtk-default.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/gtk-default.css b/gtk/gtk-default.css index d084828573..840438bdd5 100644 --- a/gtk/gtk-default.css +++ b/gtk/gtk-default.css @@ -38,6 +38,13 @@ GtkTreeView.view.expander:selected:hover { color: @text_color; } +GtkTreeView.dnd { + border-color: @internal_element_color; + border-radius: 0; + border-width: 1px; + border-style: solid; +} + *:insensitive { border-color: shade (@bg_color, 0.7); background-color: shade (@bg_color, 0.9); -- 2.30.2